Chest wall motion analysis